import React, {Component} from 'react';
import {
  View,
} from 'react-native';

import SizeUtils from '../../common/SizeUtils';
import BaseComponent from '../common/BaseComponent';
import QuanziListView from '../quanzi/QuanziListView';
import Config from '../../config';

export default class QuanziMyPage extends BaseComponent  {
  constructor(props) {
    super(props);
    this.state.isRefreshing = false;


    this._pageWidth = SizeUtils.getWindowSize().width;
    this._pageHeight = SizeUtils.getWindowSize().height-Config.paddingTop;
  }

  componentDidMount() {
    this._requestData();
  }

  _requestData() {
    
  }

  render() {
    return(
      <View style={{paddingTop:Config.paddingTop, backgroundColor:"#00000000"}}>
        <QuanziListView style={{height:this._pageHeight}} noEmpty = {true}
            isInster={true}
            pageData = {this.props.pageData}/>
        {this._renderNavigationBar()}
      </View>
    )
  }
};
